/******************************************************************************
** @file	test_wmi_registry.cpp
** @author  Arturo Aguilar Tapia
**
** @date	Agoost 20, 2010
**
** @desc	This test lists the Registries
*			
**
******************************************************************************/

#include "../Unit--/unit--.h"
#include "wmi_reader.h"
#include "WMI_Registry.h"
#include "WMI_Result.h"
#include "WMI_FileDirectory.h"
#include<iostream>

using namespace unit_minus;

testSuite(WMIReaderSuite);

testCase(WMIReaderRegistryTest, WMIReaderSuite)
{
    cout << "---------- Start Registry Test ----------" << endl;

	WMI_Result<WMI_Registry> registryChild;
	WMI_Reader::getRegistryChildren(L"", registryChild);
	registryChild.showObjects();	

	
	assertTrue(registryChild.getObjects().size() >= 0);

    cout << "---------- End Share Test ----------" << endl << endl;
    system("PAUSE");
}
